<template>
  <el-card class="box-card">
    <div slot="header" class="clearfix">
      <span>封面图片</span>
    </div>
    <div class="text item">
      <Single-image v-model="newValue" :single-image="true" width="auto" />
    </div>
  </el-card>
</template>

<script>
import SingleImage from '@/components/Upload/SingleImage'
export default {
  components: {
    SingleImage
  },
  props: {
    value: {
      type: String,
      default() {
        return ''
      }
    }
  },
  data() {
    return {
      tag: ''
    }
  },
  computed: {
    newValue: {
      get() {
        return this.value
      },
      set(value) {
        this.$emit('input', value)
      }
    }
  },
  methods: {

  }

}
</script>

<style lang="scss" scoped>
</style>
